Skip to content

Promote _call metamethod calls to normal function calls so they can tail call, suspend, or throw.#316

Open
BenLubar wants to merge 1 commit intoalbertodemichelis:masterfrom
BenLubar:call-metamethod
Open

Promote _call metamethod calls to normal function calls so they can tail call, suspend, or throw.#316
BenLubar wants to merge 1 commit intoalbertodemichelis:masterfrom
BenLubar:call-metamethod

Conversation

@BenLubar
Copy link

This maintains the existing undocumented behavior where one extra stack value is passed to the function call. (x.y(a, b, c) where x.y is an object with a _call metamethod will still result in a call to x.y._call(x.y, x, a, b, c)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant